package com.yanghui.dtracing.core.opentracing;

import io.opentracing.tag.StringTag;

public class DTracerTags {

    private DTracerTags(){}

    public static final StringTag PEER_URL = new StringTag("peer.url");

    public static final StringTag TYPE = new StringTag("type");

    public static final StringTag HTTP_PATH = new StringTag("http.path");

    public static final String COMPONENT_HTTP = "Http";

    public static final String COMPONENT_HYSTRIX = "Hystrix";

    public static final String COMPONENT_FEIGN = "Feign";

    public static final String COMPONENT_ZUUL = "Zuul";

    public static final String COMPONENT_MYSQL = "Mysql";

    public static final String COMPONENT_JEDIS = "Jedis";

    public static final String COMPONENT_REDISSON = "Redisson";

    public static final String DB_TYPE_SQL = "sql";

    public static final String DB_TYPE_REDIS = "redis";

    public static final String COMPONENT_SPRING = "Spring";

    public static final String COMPONENT_REST = "RestTemplate";

    public static final String COMPONENT_MYBATISPLUS = "MybatisPlus";
}
